home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
animTests
/
sampled_tcb_boxes.s3d
< prev
next >
Wrap
Text File
|
2000-05-30
|
4KB
|
123 lines
DEF world-TIMER TimeSensor {
loop TRUE
cycleInterval 3.333
}
DEF Box01 Transform {
translation -39.25 0 99.57
children [
Transform {
translation -60.75 0 0.4343
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.6039 0.6039 0.898
}
}
]
geometry MultiMesh {
coord Coordinate {
point [
-15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
edgeVisibleIndex [
1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1
1 1 0 -1 1 1 0 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
DEF Box01-POS-INTERP PositionInterpolator {
key [
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9
0.95 1
]
keyValue [
-39.25 0 99.57 -57.16 0 39.73 -69.9 0 -9.797 -76.16 0 -47.43 -76.21 0 -73.49
-71.35 0 -89.56 -63.44 0 -97.92 -54.55 0 -101.1 -46.61 0 -101.4 -41.17 0 -100.8 -39.25 0 -100.4
-37.51 0 -100.1 -32.38 0 -99.25 -24.16 0 -97.71 -13.29 0 -95.46 -0.3166 0 -92.42 14.17 0 -88.48
29.64 0 -83.58 45.72 0 -77.65 62.33 0 -70.68 79.85 0 -62.73
]
}
ROUTE world-TIMER.fraction_changed TO Box01-POS-INTERP.set_fraction
ROUTE Box01-POS-INTERP.value_changed TO Box01.set_translation
DEF Box01-ROT-INTERP OrientationInterpolator {
key [
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9
0.95 1
]
keyValue [
0 1 0 0 0 1 0 -0.1611 0 1 0 -0.3299 0 1 0 -0.503 0 1 0 -0.6772 0 1 0 -0.8492
0 1 0 -1.016 0 1 0 -1.174 0 1 0 -1.319 0 1 0 -1.45 0 1 0 -1.562 0 1 0 -1.653 0 1 0 -1.726
0 1 0 -1.784 0 1 0 -1.829 0 1 0 -1.866 0 1 0 -1.897 0 1 0 -1.926 0 1 0 -1.957 0 1 0 -1.991
0 1 0 -2.033
]
}
ROUTE world-TIMER.fraction_changed TO Box01-ROT-INTERP.set_fraction
ROUTE Box01-ROT-INTERP.value_changed TO Box01.set_rotation
]
}
DEF Box02 Transform {
translation 48.02 0 -45.1
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.3451 0.7804 0.8824
}
}
]
geometry MultiMesh {
coord Coordinate {
point [
-15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
edgeVisibleIndex [
1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1
1 1 0 -1 1 1 0 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
]
}
DEF Camera01 Viewpoint{
position 2.983 113.4 362.3
orientation 0.9614 -0.2725 -0.03926 -0.2975
fieldOfView 0.6024
description "Camera01"
}
DEF Camera01.Target Transform {
translation -28.44 0 -21.85
children [
]
}